# coding: utf-8
import sys
import traceback
from ioHelper import *
import random


def Process(data) -> int:

    moduleVar = IoHelper(data, INIT_MODULE_VAR)
    globalVar = IoHelper(data, INIT_GLOBAL_VAR)

    try:

        str = (
            f"{moduleVar.in0} {moduleVar.in1} {moduleVar.in2} {moduleVar.in3} {moduleVar.in4} {moduleVar.in5} "
            f"{moduleVar.in6} {moduleVar.in7} {moduleVar.in8} {moduleVar.in9} {moduleVar.in10} "
            f"{moduleVar.in11} {moduleVar.in12}"
        )

        PrintMsg(str)
        moduleVar.out0 = [
            moduleVar.in0,
            moduleVar.in1,
            moduleVar.in2,
            moduleVar.in3,
            moduleVar.in4,
            moduleVar.in5,
            moduleVar.in6,
            moduleVar.in7,
            moduleVar.in8,
            moduleVar.in9,
            moduleVar.in10,
            moduleVar.in11,
            moduleVar.in12,
        ]
        str = f"{moduleVar.out0}"
        PrintMsg(str)

        pass
        # PrintMsg("User code end")
    except BaseException as e:
        err_stack = traceback.format_exc()
        PrintMsg("\n-----------\n" + err_stack)
    return 0
